/*
 * IMP alloc common header file.
 *
 * Copyright (C) 2014 Ingenic Semiconductor Co.,Ltd
 * Author: Aeolus <weiqing.yan@ingenic.com>
 */

#ifndef __ALLOC_COMMON_H__
#define __ALLOC_COMMON_H__

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

#define MEM_ALLOC_METHOD "kmalloc" // pmem malloc kmalloc
#define MEM_MANAGER_METHOD "continuous" // continuous buddy

// malloc method, define max malloc size
#define MAX_MALLOC_SIZE (32 * 1024 * 1024)

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __ALLOC_COMMON_H__ */
